package cn.hk.vaccination.service.impl;

import cn.hk.vaccination.domain.VaccinesDeptRegister;
import cn.hk.vaccination.mapper.VaccinesDeptRegisterMapper;
import cn.hk.vaccination.service.VaccinesDeptRegisterService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 * 社区疫苗登记开关关联表 服务实现类
 * </p>
 *
 * @author xu
 * @since 2023-03-10
 */
@Service
public class VaccinesDeptRegisterServiceImpl extends ServiceImpl<VaccinesDeptRegisterMapper, VaccinesDeptRegister> implements VaccinesDeptRegisterService {
    @Autowired
    private VaccinesDeptRegisterMapper vaccinesDeptRegisterMapper;

    @Override
    public List<Long> getVaccinesIdsByDeptId(Long deptId) {
        return vaccinesDeptRegisterMapper.selectIdsByDeptId(deptId);
    }
}
